#ifndef WORKTHREAD_H_
#define WORKTHREAD_H_

#include "Common.h"
#include "Thread.h"
#include "ConnPool.h"
#include "SocketPool.h"

class WorkThread : public Thread
{
    private:

        Timer _timer;

        int32 _len;

        char *_rev;

        char *_res;

        char *_log;

    public:

        WorkThread();

        ~WorkThread();

        void *Process();

        bool Revceive(Socket socket);

        bool Work();

        bool Response(Socket socket);
};

#endif
